<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../static/header.jsp" %>
<script type="text/javascript">
    $(document).ready(function() {
 
        $("#invitation_list").addClass("selected");
   
    });
</script>

        <table cellpadding="5" cellspacing="0" border="0" width="60%" align="center">
        <tbody>
            <tr>
                <td  align="center" id="td_body">

                    <fieldset>

                        <legend id="legend_galery">Dane firmy
<!--                                < spring:message code="create_invitation" />-->
                        </legend>

                        <div id="label_text">Nazwa firmy
<!--                            < spring :message code="assigned.to.user"/>-->
                        </div>
                        <div id="field_object">
                            <c:out  value="${firma.name}"/>
                        </div>
                        
                        <div id="label_text">Imie
<!--                            < spring :message code="assigned.to.user"/>-->
                        </div>
                        <div id="field_object">
                            <c:out  value="${firma.firstName}"/>
                        </div>
                        
                        <div id="label_text">Nazwisko
<!--                            < spring :message code="assigned.to.user"/>-->
                        </div>
                        <div id="field_object">
                            <c:out value="${firma.lastName}"/>
                        </div>
                        
                        <div id="label_text">Email
<!--                            < spring :message code="assigned.to.user"/>-->
                        </div>
                        <div id="field_object">
                            <c:out value="${firma.email}"/>
                        </div>
                        
                        <div id="label_text">Tel.
<!--                            < spring :message code="assigned.to.user"/>-->
                        </div>
                        <div id="field_object">
                            <c:out value="${firma.tel}"/>
                        </div>
                        
                        <div id="label_text">Kraj
<!--                            < spring:message code="theme"/>-->
                        </div>
                        
                        <div id="field_object">
                            <c:out value="${firma.country}"/>
                        </div>
                        
                        
                        <div id="label_text">Miasto
<!--                            < /spring :message code="description"/>-->
                        </div>
                        <div id="field_object">
                               <c:out value="${firma.city}"/>
                        </div>
                        
                        <div id="label_text">Ulica
<!--                            < spring :message code="assigned.to.user"/>-->
                        </div>
                        <div id="field_object">
                            <c:out value="${firma.street}"/>
                        </div>
                        
                        <div id="label_text">Numer
<!--                            < spring :message code="assigned.to.user"/>-->
                        </div>
                        <div id="field_object">
                            <c:out value="${firma.number}"/>
                        </div>
                    </fieldset>
                </td>
            </tr>
        </tbody>
    </table> 

     <fieldset>

        <legend id="legend_galery">Wykonane operacje
<!--                                < spring:message code="create_invitation" />-->
        </legend>
    <table cellpadding="5" cellspacing="0" border="1" width="60%" align="center">
        <tbody>
            <tr>
                <td  align="center" >Data wpisu do bazy</td>
                <td  align="center" >Data oczekiwania startu od firmy</td>
                <td  align="center" >Data wysłania</td>
                <td  align="center" >Kopia</td>
                <td  align="center" >Status</td>
            </tr>
           
            <c:forEach items="${firma.accounts}" var="fi">
                <tr>
                    <td  align="center" ><c:out value="${firma.dateCreate}"/></td>
                    <td  align="center" ><c:out value="${fi.dateStartFirma}"/></td>
                    <td  align="center" >00.00.0000</td>
                    <td  align="center" ><c:out value="${fi.copy}"/></td>
                    <td  align="center" ><c:out value="${fi.status}"/></td>
                </tr>
            </c:forEach>
        </tbody>
    </table>                 
 </fieldset>

<%@include file="../static/footer.jsp" %>